package flyweight

type tMockTicketRemaining struct {
	ITicket
	iRemaining int
}

func newMockTicketRemaining(it ITicket, num int) *tMockTicketRemaining {
	return &tMockTicketRemaining{
		it, num,
	}
}

func (me *tMockTicketRemaining) Remaining() int {
	return me.iRemaining
}
